﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

namespace ConsoleApp
{
    public class ReflectionMethod
    {
        public void Show()
        {
            var type= this.GetType();
            var TestMethod= type.GetMethod("Test");
            //TestMethod.GetMethodBody;

        }

        public void Test()
        {
            Test2();
        }

        public void Test2()
        {
            DescriptionAttribute description = new DescriptionAttribute("用户信息");
        }
    }
}
